//
//  JWDistrictModel.m
//  JWMovie
//
//  Created by Jorn.Wu on 15/7/18.
//  Copyright (c) 2015年 Jorn.Wu. All rights reserved.
//

#import "JWDistrictModel.h"

@implementation JWDistrictModel

- (instancetype)initWithDictionary:(NSDictionary *)dic{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.myId = value;
    }
}

+ (instancetype)districtModelWithDictionary:(NSDictionary *)dic{
    return [[self alloc] initWithDictionary:dic];
}

@end
